<link href="../addons/jy_merch/css/style.css?v=201805251730" rel="stylesheet">
<style type="text/css">
	.icon1 {
		width: .8rem; height: .8rem;
		vertical-align: -0.15em;
		fill: currentColor;
		overflow: hidden;
	}
</style>
<div class="fui-page fui-page-current page-commission-index ">
    <div class='fui-content'>
	<div class="headinfo">
	    <div class="userinfo" style="height: auto;width:100%">
			<div class='fui-list'>
				<div class='fui-list-media'><img ng-src="{{tomedia(pagedata.member.avatar)}}" /></div>
				<div class='fui-list-info'>
					<div class='title'>{{pagedata.member.nickname}} </div>
					<div class='subtitle' >{{pagedata.member.level}}<i class='icon icon-question' style='font-size:8px;'></i>
					</div>
				</div>
				<a class="setbtn external jump"  href="javascript:;" ng-click="access_json('jy_mzhaodian/info/')" >
					<i class="icon jinyunicon icon-shezhi"></i>
				</a>
			</div>
		
	    </div>
	</div>
	<div style="padding: 0 0.5rem">
		<div class="fui-cell-group">
			<div class="fui-cell"style="height: 2.85rem;">
				<div class="fui-cell-icon">
					<i class="icon jinyunicon icon-qrcode"></i>
				</div>
				<div class="fui-cell-text">我的店长码：{{pagedata.member.mid}}
				</div>
			</div>
		</div>
		<div class="userblock">
			<div class="line total new">
				<div class="num">{{pagedata.data.balance_total || '0.00'}}</div>
				<div class="title">{{pagedata.setting.balance_total}}(元)</div>
			</div>
			<div class="line usable new">

				<div class="text">
					<div class="num">{{pagedata.data.commission_1  || '0.00'}}</div>
					<div class="title">{{pagedata.setting.commission_1}}(元)</div>
				</div>
				
				<a ng-if="pagedata.data.commission_1 > 0" ng-click="post({},'jy_mzhaodian/commission/')" class="btn btn-warning external" ><span style="line-height: 1">{{pagedata.setting.balance_button}}</span></a>
			</div>
		</div>
		<div class="fui-block-group new col-2" style='overflow: hidden;'>
            <a class="fui-block-child new  external" href="javascript:;" ng-click="access_json('jy_mzhaodian/commission/main')">
                <div class="icon " style="color: #ff4357;"><i class="icon jinyunicon icon-caifua"></i></div>
                <div class="text new">
					<div class="title">{{pagedata.setting.commission_total||'总收益'}}</div>
                    <div class=""><span>{{pagedata.data.commission_total || '0.00'}}</span> 元</div>
				</div>
            </a>
            <a class="fui-block-child new external" href="javascript:;" ng-click="access_json('jy_mzhaodian/order/main')">
                <div class="icon" style="color: #9ec9f4;"><i class="icon jinyunicon icon-dingdan"></i></div>
				<div class="text new">
					<div class="title">{{pagedata.setting.torder || '订单'}}</div>
					<div class=""><span>{{pagedata.ordernum || 0}}</span> 笔</div>
				</div>
            </a>
            <a class="fui-block-child new  external" href="javascript:;" ng-click="access_json('jy_mzhaodian/balance/main')">
                <div class="icon" style="color: #ffbe2e;"><i class="icon jinyunicon icon-wodeqianbao"></i></div>
				<div class="text new">
					<div class="title">{{pagedata.setting.tcommission_detail || '结算'}}</div>
					<div class=""><span>{{pagedata.data.balance_num || 0}}</span> 笔</div>
				</div>
            </a>
            <a class="fui-block-child new  external" href="javascript:;" ng-click="access_json('jy_mzhaodian/down/main')">
                <div class="icon "  style="color: #ff6e02;"><i class="icon jinyunicon icon-paihao0"></i></div>
				<div class="text new">
					<div class="title">{{pagedata.setting.tmydown || '拓展商户'}}</div>
					<div class=""><span>{{pagedata.data.merch_num || 0}}</span>人</div>
				</div>
            </a>
		

	</div>
		<!--{/if}-->
		<div class="fui-cell-group">
			<a ng-show="pagedata.setting.closed_qrcode!=1"  href="javascript:;" ng-click="access_json('jy_mzhaodian/qrcode/main')" class="fui-cell">
				<div class="fui-cell-icon ">
					<i class="icon jinyunicon icon-erweima text-yellow"></i>
				</div>
				<div class="fui-cell-text">店长二维码</div>
				<div class="fui-cell-remark" style="font-size: 0.5rem;"></div>
			</a>
			<a class="fui-cell">
				<div class="fui-cell-icon ">
					<i class="icon jinyunicon icon-caifub text-yellow"></i>
				</div>
				<div class="fui-cell-text">已获店长奖励{{team_money || '0.00'}}元</div>
				<div class="fui-cell-remark" style="font-size: 0.5rem;"></div>
			</a>
			
		</div>
		<div class="fui-cell-group fui-cell-click" style="background:none">
							<a class="fui-cell external changepwd" href="javascript:;" ng-click="access_json('core/member.cpassword/')">
								<div class="fui-cell-text" style="text-align: center;">修改密码</div>
							</a>
							<a class="fui-cell external btn-logout" ng-click="post_json('core/member.logout/')">
								<div class="fui-cell-text" style="text-align: center;">退出登录</div>
							</a>
		</div>
    </div>
	 </div>
</div>
<div ng-include="sys_html('_footer')"></div>